import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import About from './views/About.vue'
import Guide from './views/Guide.vue'
import Record from './views/Record.vue'

Vue.use(Router)

const router = new Router({
  routes: [
    {
      path: '/about',
      name: 'about',
      component: About
    },
    {
      path: '/',
      component: Home
    },
    {
      path: '/index',
      component: Home
    },
    {
      path: '/guide',
      component: Guide
    },
    {
      path: '/record',
      component: Record
    }
  ]
})

export default router
